package com.xrc.service;

import com.spring.Autowire;
import com.spring.Component;
import com.spring.ComponentScan;
import com.spring.InitializingBean;

/**
 * @ClassName:UserService
 * @Auther: xierongchang
 * @Description:
 * @Date: 2024/6/6 22:23
 * @Version: v1.0.0
 */
@Component("userService")
public class UserService implements InitializingBean,UserInterface {

    @Autowire
    OrderService orderService;
    @Override
    public void test(){
        System.out.println(orderService);
        System.out.println("test");
    }

    @Override
    public void init() {
        System.out.println("init userService");
    }
}
